Skip to content

feat(sig): add modifying report state via inbox#1513

Merged
Twixes merged 2 commits intomainfrom
sig/report-actions
Apr 8, 2026
Merged

feat(sig): add modifying report state via inbox#1513
Twixes merged 2 commits intomainfrom
sig/report-actions

Conversation

@oliverb123
Copy link
Copy Markdown
Contributor

@oliverb123 oliverb123 commented Apr 7, 2026

Problem

We want to be able to snooze, suppress, delete reports via the PHC inbox. We also want to be able to reingest them, although this is gated behind 1: being a staff user and 2: running a dev build.

This PR also contains some futzing with the keyboard handling, because it wasn't as good as I wanted it to be

image.png

Copy link
Copy Markdown
Contributor Author

oliverb123 commented Apr 7, 2026

This stack of pull requests is managed by Graphite. Learn more about stacking.

@oliverb123 oliverb123 marked this pull request as ready for review April 7, 2026 11:41
@oliverb123 oliverb123 requested a review from a team April 7, 2026 11:42
@oliverb123 oliverb123 force-pushed the sig/report-actions branch from 48e4461 to 2fcfa42 Compare April 7, 2026 11:45
@Twixes Twixes changed the base branch from sig/component-inbox to graphite-base/1513 April 7, 2026 18:06
@Twixes Twixes force-pushed the graphite-base/1513 branch from d072d3d to bc8fae9 Compare April 7, 2026 18:06
@Twixes Twixes changed the base branch from graphite-base/1513 to main April 7, 2026 18:06
@Twixes Twixes force-pushed the sig/report-actions branch from 2fcfa42 to ad2f0db Compare April 7, 2026 19:57
@Twixes Twixes changed the base branch from main to graphite-base/1513 April 7, 2026 20:00
@Twixes Twixes force-pushed the sig/report-actions branch from ad2f0db to e7e2514 Compare April 7, 2026 20:00
@Twixes Twixes changed the base branch from graphite-base/1513 to sig/component-inbox April 7, 2026 20:00
@Twixes Twixes changed the title sig: add modifying report state via inbox feat(sig): add modifying report state via inbox Apr 7, 2026
@oliverb123 oliverb123 changed the base branch from sig/component-inbox to graphite-base/1513 April 7, 2026 21:49
@oliverb123 oliverb123 force-pushed the sig/report-actions branch from e7e2514 to efb0df6 Compare April 7, 2026 21:50
@oliverb123 oliverb123 force-pushed the graphite-base/1513 branch from fbc1d50 to 1735579 Compare April 7, 2026 21:50
@graphite-app graphite-app bot changed the base branch from graphite-base/1513 to main April 7, 2026 21:50
@oliverb123 oliverb123 force-pushed the sig/report-actions branch from efb0df6 to f06467a Compare April 7, 2026 21:51
cursoragent and others added 2 commits April 8, 2026 05:05
PascalCase file names are reserved for files exporting React components.
This file only exports constants, so use kebab-case instead.

Co-authored-by: Michael Matloka <dev@twixes.com>
Copy link
Copy Markdown
Member

@Twixes Twixes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few comments from me, but as we've chatted in Slack, each I tackled in the PR stacked on top

Copy link
Copy Markdown
Member

Twixes commented Apr 8, 2026

Merge activity

  • Apr 8, 10:43 AM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Apr 8, 10:44 AM UTC: @Twixes merged this pull request with Graphite.

@Twixes Twixes merged commit e57f14d into main Apr 8, 2026
16 checks passed
@Twixes Twixes deleted the sig/report-actions branch April 8, 2026 10:44
Twixes added a commit that referenced this pull request Apr 8, 2026
## Problem

The inbox list toolbar introduced in #1513 added controls _only_ for bulk operations. But the same controls have been missing for _individual_ reports too. In the Cloud version, we had them under a dropdown in the report pane itself. I considered doing the same here, but there's no point when we have a great toolbar - the toolbar should be the individual report controls as well.

At the same time, checkboxes take away from the content when shown always - and we don't need them by default for _most_ user interactions here. (Ofc will validate this, but at least I think that's a safe assumption for now that the individual report level is the primary one.)

## Changes

Making the report list toolbar always-on, with intuitive logic for selection state synced with the currently-viewed-report state. Unifies the selection state, so that "currently viewed" and "selected" are the same thing. Checkboxes only show up when multiple reports are selected. For multi-select, you can use the "Select all" checkbox or standard desktop Shift/Cmd+click patterns. See in action:

<img src="https://res.cloudinary.com/dmukukwp6/image/upload/Clean_Shot_2026_04_08_at_11_58_59_c89bf3657b.gif">

<!-- If you're an agent, only list tests you actually ran. -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants